package com.evil.kingdom.pojo.entity.world.city;

import com.evil.common.mongo.entity.SingleName;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 城池武将
 *
 * @author liyang
 * @date 2024-06-13 16:32
 */
@Getter
@Setter
@Document
public class CityGeneral implements SingleName {

    /**
     * 武将名称
     */
    @Id
    private String name;

    /**
     * 城池名称
     */
    private String cityName;

    @Override
    public String getEntityName() {
        return "城池武将";
    }
}
